
/**
 * 显示日期
 * @param stream
 */
export const toDateCommand = (stream: 'linux' | 'window') => {
    if (stream === 'linux') {
        return 'date \n'
    } else {
        return 'date /t \r'
    }
}
